package com.yupi.springbootinit.service;

import com.yupi.springbootinit.model.entity.TaskOperationLog;
import com.yupi.springbootinit.model.vo.TaskOperationLogVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 任务操作日志服务
 */
public interface TaskOperationLogService {

    void log(Long taskId, String operationType, String operatorName, String remark, LocalDateTime operationTime);

    List<TaskOperationLogVO> listByTaskId(Long taskId);
}